package com.chance.cc.crawler.prod.command.node.toutiao;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.toutiao.realtime.TTBKRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.toutiao.realtime.TTRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.toutiao.trace.TTBKCommentTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.toutiao.trace.TTBKTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.toutiao.trace.TTCommentTraceCrawlerSchedulerJob;

/**
 * @author lt
 * @version 1.0
 * @date 2021-04-19 12:51:03
 * @email okprog@sina.com
 */
public class TTCrawlerNode {
    public static CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.210",9505);

    public static void main(String[] args) {
//        crawlerNodeCommand.killCrawler(TTBKRealtimeCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(TTBKCommentTraceCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(TTBKTraceCrawlerSchedulerJob.crawlerScheduler());
        crawlerNodeCommand.killCrawler(TTRealtimeCrawlerSchedulerJob.crawlerScheduler());
//        crawlerNodeCommand.killCrawler(TTCommentTraceCrawlerSchedulerJob.crawlerScheduler());

//        crawlerNodeCommand.nodeStatus();
    }
}
